AutoCAD - Dialog Control Language (DCL) - Minimal ExampleWhat links here?
// This Dialog box displays a line of text with an OK button
FIRSTDCL : dialog {
   label = "My First Dialog Box";
     : text { 
                 label = "Hello there, this is my first dialog box";
     }
     ok_only;
}


(defun c:FIRSTDCL ()
  (defun do_exit ()
    (done_dialog 1)
  )
  (setq SRT (load_dialog "FIRSTDCL"))
  (if (> SRT 0)
    (progn
      (new_dialog "FIRSTDCL" SRT)
      (action_tile "accept" "(do_exit)")
      (start_dialog)
      (unload_dialog SRT)
    )
  )
)
AutoCAD - Dialog Control Language (DCL) - Minimal Example
filename:AutoCAD - Dialog Control Language (DCL) - Minimal Example
filename:AutoCAD%20%2D%20Dialog%20Control%20Language%20%28DCL%29%20%2D%20Minimal%20Example
last edit:July 27 2013 15:40:56 (3935 days ago)
ct = 1714982129.000000 = May 06 2024 03:55:29
ft = 1374954056.000000 = July 27 2013 15:40:56
dt = 340028073.000000